Welcome![Sign In][Sign Up]
Location:
Search - pic18 pwm example

Search list

[SCM2345

Description: PIC18系列单片机,I2C,AD,PWM等C语言程序实例。-PIC18 family of single-chip, I2C, AD, PWM, etc. Examples of C language programming.
Platform: | Size: 2048 | Author: 益青 | Hits:

[Other Embeded programpic18

Description: ● C语言程序例程。该子目录包括以下子程序: ——AD程序实现模拟量到数字量的转换功能; ——CAN程序实现CAN总线通讯功能; ——keyboard_check程序实现键盘的扫描查询方式输入; ——keyboard_disturb程序实现PORTB的"电平变化中断"进行键盘的输入; ——led0-8程序实现在8个LED上依次显示1~8数字; ——PWM程序用于使CCP1模块产生分辨率为10位的PWM波形,占空比为50 ; ——RS-232程序通过RS-232接口来完成PC计算机与单片机之间的通信; ——simple_POARD程序为外围功能模块简单应用实例,点亮与PORTD口相连的八个发光二极管; ——stopwatch程序实现计时秒表功能,时钟显示范围00.00~99.99秒,分辨度为0.01秒; ——switchinput程序用于开关量的输入(采用SPI总线),并显示在与D口相连的LED上; ——wakeup程序实现PIC18F458的休眠工作方式,并由实验板上的按键产生"电平变化中断"将其从休眠状态中激活; ——WDT程序实现"看门狗"WDT的功能; ——Yejing程序实现液晶显示器的接口和显示功能。 -● C language routine. The subdirectory include the following subroutine: - AD program to achieve analog to digital conversion function - The CAN program CAN bus communication functions The- keyboard_check program keyboard scan query mode input - Keyboard_disturb program PORTB change interrupt level "keyboard input - Led0-8 program eight LEDs sequentially numbers 1 to 8 - PWM program for the CCP1 module produces a resolution of 10-bit PWM waveform, duty cycle of 50 - RS-232 program through the RS-232 interface to complete the communication between PC computer and microcontroller - Simple_POARD program simple application example for the peripheral function modules, lit PORTD port connected eight light-emitting diodes - Stopwatch stopwatch program, clock display range from 00.00 to 99.99 seconds, and a resolution of 0.01 seconds The- switchinput program is used to switch the input (SPI bus), and display on the LED connected to port D - Wakeup program the PIC18F458 do
Platform: | Size: 2292736 | Author: 王涛 | Hits:

CodeBus www.codebus.net